package com.xiaojie.learn.spring.readwritesplit.base;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启动读写分离功能
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(ReadWriteConfiguration.class)
public @interface EnableReadWrite {
}
